package com.hd.bean;

import java.io.Serializable;

import com.hd.until.*;;

/**
 * Created by morris on 04/01/2017.
 */
public class AnShuoResponse implements Serializable {

    private static final long serialVersionUID = -7941142388463832936L;

    private AnShuoResponseTransaction transaction;

    public AnShuoResponseTransaction getTransaction() {
        return transaction;
    }

    public void setTransaction(AnShuoResponseTransaction transaction) {
        this.transaction = transaction;
    }

    public AnShuoResponse(AnShuoResponseTransHeader header, AnShuoResponseTransBody body) {
        transaction = new AnShuoResponseTransaction();
        transaction.setTransHeader(header);
        transaction.setTransBody(body);
    }
    
    public String toString() {
    	return LogFilterUtil.toFilteredString(this);
    }
}
